import { request } from '@umijs/max';

export async function getFakeCaptcha (body?:Record<string, any>, options?: Record<string, any>) {
  return request<API.LoginResult>('/api/fake_analysis_chart_data', {
    method: 'GET',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  });
}